package com.qiaofang.applet.service.member.service.dto;

import com.qiaofang.applet.common.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("会员分享DTO")
public class MemberShareAddDto extends BaseDto {

    @ApiModelProperty("父级ID")
    private String parentId;

    @ApiModelProperty("是否展示经纪人列表")
    @NotNull(message = "'是否展示经纪人'不能为空")
    private Boolean showEmpList;

    @ApiModelProperty("会员ID")
    @NotNull(message = "会员ID不能为空")
    private String memberId;

    @ApiModelProperty("会员名称")
    private String memberName;

    @ApiModelProperty("业务UUID：房源UUID或者员工UUID")
    @NotNull(message = "业务UUID不能为空")
    private String businessUuid;

    @ApiModelProperty("业务类型: 1 新房 2 二手房 3 租房 4 经纪人")
    @NotNull(message = "业务类型不能为空")
    private Integer businessType;

    @ApiModelProperty("所属经纪人")
    @NotNull(message = "所属经纪人不能为空")
    private String employeeUniqueUuid;

    @ApiModelProperty("城市编码")
    @NotNull(message = "城市编码不能为空")
    private String cityCode;

    @ApiModelProperty("分享类型: 1 分享到微信  2 保存图片")
    private Integer shareTo;
}
